package translinkApp.DialogBoxes.WebsiteLinks;

import java.util.ArrayList;

public class WebSiteInfoList extends ArrayList<WebSiteInfo> {

	public String getUriStart() {
		return uriStart;
	}

	private final String uriStart;

	public WebSiteInfoList(String uriStart) {
		this.uriStart = uriStart;

	}

	public CharSequence[] getDialogList() {
		ArrayList<String> items = new ArrayList<String>();
		for (WebSiteInfo wsi : this) {
			items.add(wsi.getName());
		}

		return items.toArray(new String[0]);

	}

}
